All Questions
3 questions
2votes
0answers
597views
Create or Update thousands of woocommerce products via PHP
I have client with a cash register in the store. That register has an API from which I'm retrieving over 5000 products and syncing them with online store. I wrote plugin that triggers cron job every ...
1vote
1answer
242views
How to modify WCMP Rest API response?
I had tried the register_rest_field() to modify the Rest API response of the WCMP plugin, but it seems that this function applies only to the default wordpress REST API (wp/v2). The purpose of ...
1vote
0answers
5kviews
woocommerce_checkout_order_processed hook executing function twice
I already asked this question in StackOverflow but I think this could be the right place to ask. I have attached a function to the woocommerce_checkout_order_processed hook: //check if woocommerce is ...